<div class="box white_bg">
JqUpload plugin here
<link rel="stylesheet" type="text/css" media="screen" 
href="http://<?=SITE_URL?>/public/library/jquery/jquploader/style.css"/>

<script type="text/javascript" src="http://<?=SITE_URL?>/public/library/jquery/jquploader/jquery.flash.js"></script>
<script type="text/javascript" src="http://<?=SITE_URL?>/public/library/jquery/jquploader/jquery.jqUploader.js"></script>

<h3>The form</h3>
<form enctype="multipart/form-data" action="<?=$this->hvnUrl(array('module'=>'gallery', 'action'=>'process-uploaded-file'),'nocontroller'); ?>" method="POST" class="a_form">
	<fieldset>
	<legend>Your name</legend>
	<ol>
	<li>
	<label for="your_email">Your email:</label>
	
	<input name="your_email" id="your_email" type="text" value="john@doe.com" />
	</li>
	</ol>
	</fieldset>
	<fieldset>
	<legend>Your picture</legend>
	<ol>
	<li id="example1">
	<label for="example1_field">Choose a file to upload: </label>
	<input name="MAX_FILE_SIZE" value="1048576" type="hidden" />
	<input name="myFile"  id="example1_field"  type="file" />
	</li>
	</ol>
	</fieldset>
	<input type="submit" name="submit" value="Send" />

</form>

<script>
$("#example1").jqUploader({ 
	background: "FFFFDF", 
	barColor: "FFDD00", 
	allowedExt: "*.avi; *.jpg; *.jpeg; *.png", 
	allowedExtDescr: "what you want", 
	params: {quality:'low', menu: false}, 
	validFileMessage: 'Thanks, now hit Upload!', 
	endMessage: 'and don\'t you come back ;)',
	src: 'http://<?=SITE_URL?>/public/library/jquery/jquploader/jqUploader.swf',
	hideSubmit: false 
}); 
</script>
</div>